#ifndef _APPS_BDESKTOP_CCLOCKITEM_H_
#define _APPS_BDESKTOP_CCLOCKITEM_H_

#include "ctopbaritem.h"

namespace buola { namespace bdesktop {

class CClockItem : public CTopBarItem
{
public:
    CClockItem();
    virtual ~CClockItem();

public:
    virtual double GetWidth();
    virtual void Draw(CGC *pGC);
    virtual void OnClick(gui::CMouseEvent*);
    void OnTimer();

    scoped_ptr<CTimer> mTimer;
};

/*namespace bdesktop*/ } /*namespace buola*/ }

#endif
